/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package www.enumerators;

/**
 *
 * @author Mardavmich
 */
public enum Bauds {
    
    _9600(1,"_9600", "9600"),
    _4800(2,"_4800", "4800"),
    _2400(3,"_2400", "2400"),
    _1200(4,"_1200", "1200"),
    ;
    
    int key;
    String value;
    String comment;
    
    Bauds(int key, String value, String comment){
        this.key = key;
        this.value = value;
        this.comment = comment;
    }
    
    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    public static Bauds get9600() {
        return _9600;
    }

    public static Bauds get4800() {
        return _4800;
    }

    public static Bauds get2400() {
        return _2400;
    }

    public static Bauds get1200() {
        return _1200;
    }

    public String getComment() {
        return comment;
    }
    
    
}
